﻿using System.Collections.Generic;
using NBlog.Web.Application.Service.Entity;
using NBlog.Web.Controllers;

namespace NBlog.Web.Application.Infrastructure
{
    public class LayoutModel
    {
        [NoBinding]
        public Theme Theme { get; set; }
        
        [NoBinding]
        public Config Config { get; set; }

        public SideBarBlockModel PopularEntries { get; set; }

        public SideBarBlockModel RecentPages { get; set; }
        public SideBarBlockModel RecentReviews { get; set; }
        public MetaInfoModel Meta { get; set; }
    }

    public class SideBarBlockModel
    {
        public string Title { get; set; }
        public List<HomeController.EntrySummaryModel> Entries { get; set; }
    }
}